<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Tugas Besar 1 PBO IF2032: D:/OOP/tubes1/src/Sel/Sel.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Tugas Besar 1 PBO IF2032
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_sel_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">D:/OOP/tubes1/src/Sel/Sel.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_sel_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00009"></a>00009 <span class="preprocessor">#ifndef _Sel_H_</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span><span class="preprocessor">#define _Sel_H_</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &lt;iostream&gt;</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include &quot;../Point/Point.h&quot;</span>
<a name="l00014"></a>00014 
<a name="l00015"></a>00015 <span class="keyword">using namespace </span>std;
<a name="l00016"></a>00016 
<a name="l00017"></a><a class="code" href="class_sel.html">00017</a> <span class="keyword">class </span><a class="code" href="class_sel.html">Sel</a> {
<a name="l00018"></a>00018 <span class="keyword">public</span>:
<a name="l00023"></a>00023         <a class="code" href="class_sel.html">Sel</a>();                                                  
<a name="l00024"></a>00024         
<a name="l00030"></a>00030         <a class="code" href="class_sel.html">Sel</a>(<a class="code" href="class_point.html">Point</a>&amp; x);                                          
<a name="l00031"></a>00031         
<a name="l00038"></a>00038         <a class="code" href="class_sel.html">Sel</a>(<a class="code" href="class_point.html">Point</a>&amp; x, <span class="keywordtype">char</span> y);
<a name="l00039"></a>00039         
<a name="l00045"></a>00045         <a class="code" href="class_sel.html">Sel</a>(<span class="keyword">const</span> <a class="code" href="class_sel.html">Sel</a>&amp; x);
<a name="l00046"></a>00046         
<a name="l00051"></a>00051         <span class="keyword">virtual</span> ~<a class="code" href="class_sel.html">Sel</a>();
<a name="l00052"></a>00052         
<a name="l00058"></a>00058         <a class="code" href="class_sel.html">Sel</a>&amp; operator= (<span class="keyword">const</span> <a class="code" href="class_sel.html">Sel</a>&amp; z);  
<a name="l00059"></a>00059         
<a name="l00066"></a>00066         <span class="keyword">friend</span> ostream&amp; operator&lt;&lt; (ostream&amp; stream, <span class="keyword">const</span> <a class="code" href="class_sel.html">Sel</a>&amp; sel);
<a name="l00067"></a>00067         
<a name="l00073"></a>00073         <span class="keywordtype">void</span> setLocation(<a class="code" href="class_point.html">Point</a> x);
<a name="l00074"></a>00074         
<a name="l00080"></a>00080         <span class="keywordtype">void</span> setContent(<span class="keywordtype">char</span> y);
<a name="l00081"></a>00081         
<a name="l00087"></a>00087         <a class="code" href="class_point.html">Point</a> getLocation() <span class="keyword">const</span>;
<a name="l00088"></a>00088         
<a name="l00094"></a>00094         <span class="keywordtype">char</span> getContent() <span class="keyword">const</span>;
<a name="l00095"></a>00095         
<a name="l00096"></a>00096 <span class="keyword">private</span>:
<a name="l00097"></a>00097         <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> defaultcontent = <span class="charliteral">&#39; &#39;</span>;
<a name="l00098"></a>00098         <a class="code" href="class_point.html">Point</a> location;
<a name="l00099"></a>00099         <span class="keywordtype">char</span> content;
<a name="l00100"></a>00100 };
<a name="l00101"></a>00101 
<a name="l00102"></a>00102 
<a name="l00103"></a>00103 <span class="preprocessor">#endif  </span><span class="comment">/* Sel_H */</span>
<a name="l00104"></a>00104 
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_sel_8h.html">Sel.h</a>      </li>

    <li class="footer">Generated on Thu Mar 8 2012 22:46:44 for Tugas Besar 1 PBO IF2032 by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li>
   </ul>
 </div>


</body>
</html>
